# Create my-gogin image
# Download centos image
FROM centos

# Maintainer
MAINTAINER Moks

# Install dependence
RUN yum install -y go

# Create go dir
RUN mkdir -p /go

# Init ENV of golang
ENV GOPATH /go

# Work DIR
WORKDIR /go

# Copy source to work dir
#COPY . .

# Download dependence of project
#RUN go get -d -v ./...

# Start my-gogin
#CMD ["cd /go/src/myserver/","go build ./main.go","./main"]

# Expore
EXPOSE 9001


